import os


def save_text_content(save_path: str, file_name: str, content: str):
    if not os.path.exists(save_path):
        os.makedirs(save_path)
    with open(os.path.join(save_path, file_name), mode='w+', encoding='utf-8') as f:
        f.write(content)
